package com.zc.mall.enums;

import lombok.Getter;

/**
 * @author 曾川
 * @version 1.0.0
 * @ClassName ProductStatusEnum.java
 * @Description 商品状态.1-在售 2-下架 3-删除
 * @createTime 2021年06月07日 18:04:00
 */
@Getter
public enum ProductStatusEnum {

    ON_SALE(1,"在售"),

    OFF_SALE(2,"下架"),

    DELETE(3,"删除"),

    ;
    Integer code;
    String des;

    ProductStatusEnum(Integer code, String des) {
        this.code = code;
        this.des = des;
    }
}
